package com.zhuss.product.db.dao.ext;

import java.util.List;

import com.zhuss.bean.vo.product.preline.ListPrelineVoEx;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.zhuss.bean.bo.product.preline.SearchPrelineBo;
import com.zhuss.bean.vo.product.preline.DetailPrelineVo;
import com.zhuss.bean.vo.product.preline.ListPrelineVo;
import com.zhuss.product.db.dao.gen.PrelineMapper;
import com.zhuss.product.db.entity.Preline;

/**
 * @description: 招募数据库Dao
 * @author: mkh
 * @create: Mon Jan 04 13:38:02 CST 2021
 **/

@Mapper
public interface PrelineDao extends PrelineMapper {
	
	void create(Preline record);
	
	void delete(Preline record);

	List<Preline> listAll();

	List<Preline> listById(@Param("prelineIdList") List<Long> prelineIdList);
	
	List<Preline> listByName(@Param("name") String name);
	
	List<ListPrelineVo> list(SearchPrelineBo bo);
	
	Integer countList(SearchPrelineBo bo);

	DetailPrelineVo detail(@Param("prelineId") Long prelineId);


    List<ListPrelineVoEx> prelinelistex(SearchPrelineBo bo);
}
